package aiku.numericalcontroloa.Service;

import aiku.numericalcontroloa.Base.Utils.Result;
import aiku.numericalcontroloa.Model.Dto.DevicesDto;
import aiku.numericalcontroloa.Model.Dto.DevicesPartVo;
import aiku.numericalcontroloa.Model.Entity.Devices;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author 马
* @description 针对表【devices】的数据库操作Service
* @createDate 2024-02-26 15:22:30
*/
public interface DevicesService extends IService<Devices> {

    Result selectName(String name);

    Result selectList(Integer page, Integer size,String status);

    Result adminCheckReturn(String returnId, String status);

    Result selectLike(String name);

    Result selectPartLike(String name);

    Result selectPartList();

    Result addProductIs(DevicesPartVo devices);

    Result selectPercent();

    Result updatePercent(Integer percent);

    Result adminUpdateDevice(Devices devices);

    Result selectOutboundList(Integer page, Integer size);

    Result selectOutboundLike(String name);

    Result getDeviceList(DevicesDto devicesDto);

    Result addDevice(DevicesDto devicesDto);

    Result getDevice(DevicesDto devicesDto);

    Result updateDevice(DevicesDto devicesDto);

    Result deleteDevice(DevicesDto devicesDto);

    Result assembleDevice(DevicesDto devicesDto);

    Result dismantleDevice(DevicesDto devicesDto);

    Result calculateAssembleDevice();

    Result changeDeviceImg(DevicesDto devicesDto);


}
